QT       += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++17

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    anls_core.cpp \
    dlg_diskfile.cpp \
    dlg_message.cpp \
    dlg_setting.cpp \
    img_3dinfection.cpp \
    img_file.cpp \
    img_viewer.cpp \
    img_widget.cpp \
    main.cpp \
    mainwindow.cpp \
    sys_control.cpp \
    sys_data.cpp \
    vtk_crossline.cpp

HEADERS += \
    anls_core.h \
    dlg_diskfile.h \
    dlg_message.h \
    dlg_setting.h \
    img_3dinfection.h \
    img_file.h \
    img_viewer.h \
    img_widget.h \
    mainwindow.h \
    sys_control.h \
    sys_data.h \
    vtk_crossline.h

FORMS += \
    dlg_diskfile.ui \
    dlg_message.ui \
    dlg_setting.ui \
    mainwindow.ui

# VTK include and lib
INCLUDEPATH += "D:\VTK-8.2.0\release\include\vtk-8.2"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkChartsCore-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkCommonColor-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkCommonComputationalGeometry-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkCommonCore-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkCommonDataModel-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkCommonExecutionModel-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkCommonMath-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkCommonMisc-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkCommonSystem-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkCommonTransforms-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkDICOMParser-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkDomainsChemistry-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkDomainsChemistryOpenGL2-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkdoubleconversion-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkexodusII-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkexpat-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkFiltersAMR-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkFiltersCore-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkFiltersExtraction-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkFiltersFlowPaths-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkFiltersGeneral-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkFiltersGeneric-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkFiltersGeometry-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkFiltersHybrid-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkFiltersHyperTree-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkFiltersImaging-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkFiltersModeling-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkFiltersParallel-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkFiltersParallelImaging-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkFiltersPoints-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkFiltersProgrammable-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkFiltersSelection-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkFiltersSMP-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkFiltersSources-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkFiltersStatistics-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkFiltersTexture-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkFiltersTopology-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkFiltersVerdict-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkfreetype-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkGeovisCore-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkgl2ps-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkglew-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkGUISupportQt-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkGUISupportQtOpenGL-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkGUISupportQtSQL-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkhdf5-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkhdf5_hl-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkImagingColor-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkImagingCore-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkImagingFourier-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkImagingGeneral-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkImagingHybrid-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkImagingMath-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkImagingMorphological-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkImagingSources-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkImagingStatistics-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkImagingStencil-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkInfovisCore-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkInfovisLayout-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkInteractionImage-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkInteractionStyle-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkInteractionWidgets-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkIOAMR-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkIOAsynchronous-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkIOCityGML-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkIOCore-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkIOEnSight-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkIOExodus-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkIOExport-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkIOExportOpenGL2-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkIOExportPDF-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkIOGeometry-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkIOImage-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkIOImport-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkIOInfovis-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkIOLegacy-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkIOLSDyna-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkIOMINC-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkIOMovie-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkIONetCDF-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkIOParallel-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkIOParallelXML-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkIOPLY-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkIOSegY-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkIOSQL-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkIOTecplotTable-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkIOVeraOut-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkIOVideo-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkIOXML-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkIOXMLParser-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkjpeg-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkjsoncpp-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtklibharu-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtklibxml2-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtklz4-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtklzma-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkmetaio-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkNetCDF-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkogg-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkParallelCore-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkpng-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkproj-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkpugixml-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkRenderingAnnotation-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkRenderingContext2D-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkRenderingContextOpenGL2-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkRenderingCore-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkRenderingFreeType-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkRenderingGL2PSOpenGL2-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkRenderingImage-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkRenderingLabel-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkRenderingLOD-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkRenderingOpenGL2-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkRenderingQt-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkRenderingVolume-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkRenderingVolumeOpenGL2-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtksqlite-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtksys-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtktheora-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtktiff-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkverdict-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkViewsContext2D-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkViewsCore-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkViewsInfovis-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkViewsQt-8.2.dll.a"
LIBS += "D:\VTK-8.2.0\release\lib\libvtkzlib-8.2.dll.a"

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

RESOURCES += \
    src.qrc

RC_ICONS = ./res/logo.ico
